home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.20030409-20031118 / 000349_fdc@columbia.edu_Sun Oct 26 16:16:03 2003.msg < prev    next >
Internet Message Format  |  2020-01-01  |  2KB

  1. Path: newsmaster.cc.columbia.edu!not-for-mail
  2. From: Frank da Cruz <fdc@columbia.edu>
  3. Newsgroups: comp.protocols.kermit.misc
  4. Subject: Re: Kermit losing first byte of tcp connection
  5. Date: 26 Oct 2003 21:12:55 GMT
  6. Organization: Columbia University
  7. Lines: 26
  8. Message-ID: <slrnbpoe6n.77a.fdc@sesame.cc.columbia.edu>
  9. References: <slrnbpnrjt.bg5.lars@news.oddbit.com>
  10. Reply-To: fdc@columbia.edu
  11. NNTP-Posting-Host: sesame.cc.columbia.edu
  12. X-Trace: newsmaster.cc.columbia.edu 1067202775 27676 128.59.59.56 (26 Oct 2003 21:12:55 GMT)
  13. X-Complaints-To: postmaster@columbia.edu
  14. NNTP-Posting-Date: 26 Oct 2003 21:12:55 GMT
  15. User-Agent: slrn/0.9.7.4 (SunOS)
  16. Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14602
  17.  
  18. In article <slrnbpnrjt.bg5.lars@news.oddbit.com>, Lars Kellogg-Stedman wrote:
  19. : I'm using kermit to script some tests of our SMTP server.  When one
  20. : connects to an SMTP server, the server immediately sends something along
  21. : the lines of:
  22. :   220 <server> ESMTP <software>
  23. : With kermit, I always lose the first byte, so that instead I see:
  24. :   20 <server> ESMTP <software>
  25. : This means that commands such as the following will fail:
  26. :   input 10 \fpattern(220 *)\13
  27. : Is there anything I can do to prevent this from happening?
  28. :
  29. What command did you use make the connection?  I suspect you must have
  30. unintentionally forced Kermit to use Telnet protocol, which most (if not
  31. all) Port 25 servers do not support.  Try:
  32.  
  33.   set host <hostname> 25 /raw-socket
  34.  
  35. Note that Kermit's TELNET command forces the use of Telnet protocol.
  36.  
  37. - Frank
  38.